const menus = [
  {
    title: "首页",
    moduleName: "Main",
    name: "home",
    address: "/home",
    component: "/Home",
    type: "catalogue",
    icon: "system",
    hide: false,
    meta: { isTabs: true, isSide: true, withLayout: true },
    children: [],
  },
  // {
  //   title: "表格页1",
  //   moduleName: "Main",
  //   name: "tablePage",
  //   address: "/tablePage",
  //   component: "/TablePage",
  //   type: "catalogue",
  //   icon: "system",
  //   hide: false,
  //   meta: { isTabs: true, isSide: true, withLayout: true },
  //   children: [],
  // },
  // {
  //   title: "按钮页",
  //   moduleName: "Main",
  //   name: "buttonPage",
  //   address: "/buttonPage",
  //   component: "/ButtonPage",
  //   type: "catalogue",
  //   icon: "system",
  //   hide: false,
  //   meta: { isTabs: true, isSide: true, withLayout: true },
  //   children: [],
  // },
  {
    title: "动态表单",
    moduleName: "Main",
    name: "test",
    address: "/formCreate",
    component: "/formCreate",
    type: "menu",
    icon: "",
    hide: false,
    meta: { isTabs: true, isSide: true, withLayout: true },
    children: [
      {
        title: "数据模型",
        moduleName: "Main",
        name: "fieldModel",
        address: "/fieldModel/index",
        component: "/fieldModel/index",
        type: "catalogue",
        icon: "",
        hide: false,
        meta: { isTabs: true, isSide: true, withLayout: true },
        children: [],
      },
      {
        title: "布局模型",
        moduleName: "Main",
        name: "layoutModel",
        address: "/formCreate/layoutModel",
        component: "/formCreate/layoutModel",
        type: "catalogue",
        icon: "",
        hide: false,
        meta: { isTabs: true, isSide: true, withLayout: true },
        children: [],
      },
      {
        title: "基本任务",
        moduleName: "Main",
        name: "Formily",
        address: "/formCreate/formily",
        component: "/formCreate/formily",
        type: "catalogue",
        icon: "",
        hide: false,
        meta: { isTabs: true, isSide: true, withLayout: true },
        children: [],
      },
      {
        title: "生成器",
        moduleName: "Main",
        name: "builder",
        address: "/formCreate/builder",
        component: "/formCreate/builder",
        type: "catalogue",
        icon: "",
        hide: false,
        meta: { isTabs: true, isSide: true, withLayout: true },
        children: [],
      },
    ],
  },
];

export const getMenuList = () => {
  return menus;
};
